-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Untitled #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Untitled #1
Conversation
…le decrements on the same channel).
Hi Laurent, the only changes I'm not 100% sure is /* if (byteToRead <= 0) */ { // content-length is not always defined properly by servers If we remove that condition that will means we buffer the entire body in memory, which can cause OOM. So we need to either make it configurable via a property, or explore a better patch. I will work on that asap. Thanks!!!! |
First pass, fixed AHC 47 https://github.com/sonatype/async-http-client/compare/33cc6abf52...3d852c7802 |
Added support for a new system property to encode space using + instead of %20 |
Added support for buffering the response in memory without looking at the content-lenght Just use the JDKAsyncHttpProviderConfig element in order to enable it. |
Merging from original repo on 3/28
Hi JF,
As mentioned in my email, here are my modifications on AHC. Don't hesitate to send me an email if you want more details.
Laurent